-- msg_black_market_give_item_effect
-- Create by cheny3
-- 通知播放商人冈布奥效果

return function(lpc)
    -- 获取对话
    local msgList = FormulaM.invoke("GET_SLIME_TALKS", 18, "gain_items");
    -- local bonusList = FormulaM.invoke("CALC_BLACK_MARKET_SCORE_BONUS");

    -- 奖励信息
    local bonusInfo = lpc.bonus;
    local bonusList = {{bonusInfo[1],
        bonusInfo[2]["class_id"], bonusInfo[2]["count"]}};

    EventMgr.fire(event.SLIME_TALK, {["heroId"] = 18,["msgList"] = msgList,
        ["endEffect"] = bonusList});
    AudioM.playFx("slime_swordman_app");
end
